package com.ruoyi.hospital.service.order;

import com.ruoyi.hospital.domain.shop.ShopOrdersCart;

import java.util.List;

/**
 * 购物车Service接口
 * 
 * @author wendao
 * @date 2025-06-09
 */
public interface IShopOrdersCartService 
{
    /**
     * 查询购物车
     * 
     * @param id 购物车主键
     * @return 购物车
     */
    public ShopOrdersCart selectShopOrdersCartById(Integer id);

    /**
     * 查询购物车列表
     * 
     * @param shopOrdersCart 购物车
     * @return 购物车集合
     */
    public List<ShopOrdersCart> selectShopOrdersCartList(ShopOrdersCart shopOrdersCart);

    /**
     * 新增购物车
     * 
     * @param shopOrdersCart 购物车
     * @return 结果
     */
    public int insertShopOrdersCart(ShopOrdersCart shopOrdersCart);

    /**
     * 修改购物车
     * 
     * @param shopOrdersCart 购物车
     * @return 结果
     */
    public int updateShopOrdersCart(ShopOrdersCart shopOrdersCart);

    /**
     * 批量删除购物车
     * 
     * @param ids 需要删除的购物车主键集合
     * @return 结果
     */
    public int deleteShopOrdersCartByIds(Integer[] ids);

    /**
     * 删除购物车信息
     * 
     * @param id 购物车主键
     * @return 结果
     */
    public int deleteShopOrdersCartById(Integer id);
}
